﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoolCode.Share
{
    public  class JsonResult<T> : IJsonResult<T>
    {
        public ResponseStatus Status { get; set; }
        public IList<T> Data { get; set; }
        public int Total { get; set; }
        public string Message { get; set; }
    }

    public enum ResponseStatus
    {
        Success = 0,
        BadRequest = 1,
        UnknownFailure = 2
    }
}
